#!/bin/sh
#
# 
#
#
#

if [ $# -ne 1 ]; then
	echo "Usage: $0 mdfile."
	exit
fi

grep `grep "#### 领读" $1 |awk '{print $NF}' ` 64gua.md |awk '{print "卦名: " $2 "\n卦辞: " $3 "\n" $4 "\n" $5 "\n" $6 "\n" $7 "\n" $8 "\n" $9 "\n" $10 "\n" $11 "\n" $12 "\n" $13}' 